home *** CD-ROM | disk | FTP | other *** search
- Path: eua.ericsson.se!usenet
- From: tmpfor@euax6i1c37.eua.ericsson.se (Fredrik Ornlid)
- Newsgroups: comp.lang.c++
- Subject: Differences between declaration-statements and expression-statements
- Date: 26 Mar 1996 11:47:41 GMT
- Organization: Ericsson Telecommunication Systems Laboratories
- Distribution: world
- Message-ID: <TMPFOR.96Mar26124741@euax6i1c37.eua.ericsson.se>
- NNTP-Posting-Host: euax6i1c37.eua.ericsson.se
- NNTP-Posting-User: tmpfor
-
- I'm implementing a C++ parser. Since I don't want to implement the whole
- grammar for identifying various expressions and declarations, I wonder if
- there is some easy way of determining whether a sequence of tokens is a
- declaration - statement or an expression - statement.
-
- All answers appreciated.
-
- -- Fredrik ╓rnlid
-
-